package tp.model;

public class Ticket {

	private String place;
	private Trajet trajet;

	public Ticket()
	{
		this("",null);
	}
	public Ticket(String place, Trajet trajet) {
		this.place = place;
		this.trajet = trajet;
	}

	public String getPlace() {
		return this.place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public Trajet getTrajet() {
		return this.trajet;
	}

	public void setTrajet(Trajet trajet) {
		this.trajet = trajet;
	}

}